SLES 12
Sponsored Link

Set Locale
2015/11/21
 
This is the example for setting Locale of your system.
[1] Replace to your own language on the example below.
# show current settings

dlp:~ #
   System Locale: LANG=POSIX
                  LC_CTYPE=en_US.UTF-8
       VC Keymap: jp106
      X11 Layout: jp
       X11 Model: jp106
     X11 Options: terminate:ctrl_alt_bksp

# show the list of locales

dlp:~ #
localectl list-locales

aa_DJ
aa_DJ.iso88591
aa_DJ.utf8
aa_ER
aa_ER.utf8
...
...
...
zh_TW.euctw
zh_TW.utf8
zu_ZA
zu_ZA.iso88591
zu_ZA.utf8

# set locale

dlp:~ #
localectl set-locale LANG=ja_JP.UTF-8
# show settings

dlp:~ #
   System Locale: LANG=ja_JP.UTF-8
       VC Keymap: jp106
      X11 Layout: jp
       X11 Model: jp106
     X11 Options: terminate:ctrl_alt_bksp
 
Tweet